const express = require("express");
const router = express.Router();

const banner = require("../controllers/banner");

router.get("/list", banner.list);

router.post("/add", banner.add);

router.post("/update", banner.update);

router.post("/del", banner.del);
router.post("/upload", banner.upload);

module.exports = router;
